<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ page contentType="text/html; charset=iso-8859-1" language="java"  errorPage="" %>
<jsp:directive.page import="cbm.commons.SessionContainer"/>
<jsp:directive.page import="cbm.commons.ConstantsWeb"/>
<jsp:directive.page import="cbm.commons.ResultadoOperacionBean"/>
<%
	SessionContainer sc = (SessionContainer)session.getAttribute(ConstantsWeb.SESSION_CONTAINER);
	ResultadoOperacionBean resultadoOPeracion =   (ResultadoOperacionBean)sc.getTemporalElement(ConstantsWeb.RESULTADO_OPERACION);
%>
<html>
<head>
<title>Continuidad Banca Minorista</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/css/estilos.css"/>
<script src="<%=request.getContextPath() %>/js/util/utiles.js" language="javascript"></script>
<script src="<%=request.getContextPath() %>/js/util/utf8.js"  language="javascript"></script>
<script src="<%=request.getContextPath() %>/js/util/prototype.js"  language="javascript"></script>
<script src="<%=request.getContextPath() %>/js/util/util_popup.js" language="javascript"></script>

<script language="JavaScript">
	var myGlobalHandlers = {
		onCreate: function(){
			Element.show('systemWorking');
		},

		onComplete: function() {
			if(Ajax.activeRequestCount == 0){
				Element.hide('systemWorking');
			}
		}
	};
	Ajax.Responders.register(myGlobalHandlers);
</script>
<script type="text/javascript">

	function f_buscar(){
		$('btnBuscar').disabled;
		var pars = $('form1').serialize();
		var action = '<%=request.getContextPath()%>/consultacarga.do?method=buscar';
		
		var myAjax = new Ajax.Updater(
			$('detalle'),
			action, 
			{ 
				method: 'post',
				parameters: pars
			}
		);
		$('btnBuscar').enabled;
	}
	
	function f_limpiar(){
		document.forms[0].reset();
	}
		
	function f_notificar(idlote){
		var f = document.forms[0];
		f.hidIdLote.value  = idlote;
		
		var pars = $('form1').serialize();
		var action = '<%=request.getContextPath()%>/consultacarga.do?method=notificar'
		
		var myAjax = new Ajax.Updater(
			$('detalle'),
			action, 
			{ 
				method: 'post',
				parameters: pars
			}
		);
	}
</script>
</head>
<body>

			
			
			
			
			
<form name="form1" id="form1" method="post" >
<input type="hidden" name="hidIdLote" id="hidIdLote" value=""/>
<table width="100%" align="center" height="100%">
<tr>
	<td valign="top" height="140px">
		<div id="maestro">
			<table align="center" cellspacing="2" class="table3" width="100%" cellpadding="0">
				<tr>
					<td colspan="6" class="cuadrotitle">I. Consultar Carga de Archivos</td>
				</tr>
				
				<tr>
					<td>
						<table border="0" cellpadding="0" cellspacing="0">
							<tr class="cuadrocontent">
								<td width="73">&nbsp;</td>
								<td width="188" class="tcelda1">Nombre Archivo</td>
								<td colspan="3"><input type="text" name="txtNombreArchivo" id="txtDescripcion" class="input" /></td>
								<td width="46">&nbsp;</td>
							</tr>
							<tr class="cuadrocontent">
								<td>&nbsp;</td>
								<td class="tcelda1">Fecha Inicial (dd/mm/yyyy)</td>
							  <td width="144"><input type="text" name="txtFechaInicio" id="txtFechaInicio" class="input1" /></td>
								<td class="tcelda1" width="178">Fecha Final (dd/mm/yyyy)</td>
							  <td width="145"><input type="text" name="txtFechaFin" id="txtFechaFin" class="input1" /></td>
								<td>&nbsp;</td>
							</tr>
						
						</table>
	
					</td>
				</tr>
			</table>
		</div>
	</td>
</tr>			
<tr height="24px">
	<td align="center" >
		<div id="botonera">
			<input type="button" value="Buscar"   onClick="javascript:f_buscar();"   class="button1" name="btnNuevo"   id="btnNuevo"/>
			<input type="button" value="Limpiar"  onClick="javascript:f_limpiar();"  class="button1" name="btnLimpiar" id="btnLimpiar"/>
		</div>
	</td>
</tr>
<tr>
	<td valign="top">
		<div id="detalle" style="overflow:auto">
			<table width="100%">
				<tr >
					<td class="tceldatabla1" width="200">Nombre Archivo</td>
					<td class="tceldatabla1" width="80">Fecha Inicio</td>
					<td class="tceldatabla1" width="80">Fecha Fin</td>
					<td class="tceldatabla1" width="80">Estado</td>
					<td class="tceldatabla1" width="80">Cantidad Registros</td>
					<td class="tceldatabla1" width="80">Cantidad Correctos</td>
					<td class="tceldatabla1" width="80">Cantidad Errados</td>
					<td class="tceldatabla1" width="90">Notificado</td>
					<td class="tceldatabla" width="50">&nbsp;</td>
				</tr>
				<tr class="cuadrocontentGrilla">
					<td  colspan="10" align="left" valign="top">No Hay Registros</td>
				</tr>
			</table>
		</div>
		
	</td>
</tr>
</table>
</form>		
			
			
			
			

</body>
</html>
<%if(sc != null)sc.removeTemporales();%>